package com.metel.mservice.common.exception;

import com.metel.mservice.common.constants.HttpStatus;
import com.metel.mservice.common.faultcode.ChatONOpenAPIFaultCode;
import com.metel.mservice.common.faultcode.message.ErrorMessage;

/**
 * JSONParsingException
 * 
 * @author 
 */
public final class JSONParsingException extends CommonServiceException {

	private static final long serialVersionUID = -676810841474684837L;

	public JSONParsingException() {
		super(HttpStatus.INTERNAL_SERVER_ERROR, ErrorMessage.fromFaultCode(ChatONOpenAPIFaultCode.INTERNAL_SERVER_ERROR));
	}

	public JSONParsingException(Throwable t) {
		super(t, HttpStatus.INTERNAL_SERVER_ERROR, ErrorMessage.fromFaultCode(ChatONOpenAPIFaultCode.INTERNAL_SERVER_ERROR));
	}
}
